package commands.gui;

import dataTypes.Host;

/**
 * A command returning name of active hosts
 * @author Marcin Kamionowski
 */
public class GUIHostActive extends GUICommand {

    private final Host host;

    /**
     * Constructor
     * @param host Name of host
     */
    public GUIHostActive(Host host) {
        super(GUICommandType.HOST_ACTIVE);
        this.host = host;
    }

    /**
     *
     * @return Name of host
     */
    public Host getHost() {
        return host;
    }
}
